/******************************************************************************
 * 
 * Announce: CSharpKit, Basic algorithms, components and definitions.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://gitee.com/shenyczz/csharp_csk
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/

using System;

namespace CSharpKit
{
    /// <summary>
    /// 字节序
    /// <para>指多字节数据在计算机内存中存储或者网络传输时各字节的存储顺序</para>
    /// </summary>
    [Flags]
    public enum ByteOrder
    {
        /// <summary>
        /// BigEndian. 
        /// 0x01020304 => 01 02 03 04
        /// </summary>
        BigEndian = 0x00,

        /// <summary>
        /// LittleEndian.
        /// 0x01020304 => 04 03 02 01
        /// </summary>
        LittleEndian = 0x01,
    }


}
